<cfcomponent extends="TracRpcAdapterAbstractTest">

	<cffunction name="testGetAPIVersion" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = variables.tracRpcAdapter.runMethod(1,"system.getAPIVersion",params)>
	  <cfset var version = arrayNew(1)>
	  <cfset var rpcCall = "">
	  <cfset version[1] = "$int1">
	  <cfset version[2] = "$int1">
		<cfset assertEqualsArray(expected=version,actual=results,message="Get API Failed") />
	</cffunction>

	<cffunction name="testGetProjectNames" returntype="void" access="public">
		<cfset var results = variables.tracRpcAdapter.runMethod(1,"project.getAll")>
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetProjectComponentNames" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = 1>
		<cfset results = variables.tracRpcAdapter.runMethod(1,"project.component.getAll",params)>
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetProjectMilestoneNames" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = 1>
		<cfset results = variables.tracRpcAdapter.runMethod(1,"project.milestone.getAll",params)>
<!---
 		<cfdump var="#xmlparse(CFML2XMLRPC(results,"response"))#"><cfabort />
 --->
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetProjectMilestone" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset params["milestoneName"] = "milestone one" />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"project.milestone.get",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetProjectMilestoneMultiCall" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset rpcCall = XMLRPC2CFML(data= '<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>system.multicall</methodName><params><param><value><array><data><value><struct><member><name>params</name><value><array><data><value>milestone one</value></data></array></value></member><member><name>methodName</name><value>ticket.milestone.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>milestone two</value></data></array></value></member><member><name>methodName</name><value>ticket.milestone.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>milestone3</value></data></array></value></member><member><name>methodName</name><value>ticket.milestone.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>milestone4</value></data></array></value></member><member><name>methodName</name><value>ticket.milestone.get</value></member></struct></value></data></array></value></param></params></methodCall>') />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"system.multicall",rpcCall["params"][1]) />
		<cfset results = xmlparse(CFML2XMLRPC(results,"response")) />
		<cfset assertComplexValue(value=results) />
	</cffunction>


	<cffunction name="testGetTicketComponentNames" returntype="void" access="public">
		<cfset var results = xmlCall("ticket.component.getAll",'<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>ticket.component.getAll</methodName><params/></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

 	<cffunction name="testGetTicketComponentMultiCall" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset results = multiCall('<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>system.multicall</methodName><params><param><value><array><data><value><struct><member><name>params</name><value><array><data><value>dpages</value></data></array></value></member><member><name>methodName</name><value>ticket.component.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>cfsvn</value></data></array></value></member><member><name>methodName</name><value>ticket.component.get</value></member></struct></value></data></array></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketMilestoneNames" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = 1>
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.milestone.getAll",params)>
<!---
 		<cfdump var="#xmlparse(CFML2XMLRPC(results,"response"))#"><cfabort />
 --->
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketMilestone" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset params["milestoneName"] = "milestone one" />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.milestone.get",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketPriorityNames" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.priority.getAll",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketPriority" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset params["priorityName"] = "high" />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.priority.get",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketPriorityMultiCall" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset results = multiCall( '<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>system.multicall</methodName><params><param><value><array><data><value><struct><member><name>params</name><value><array><data><value>highest</value></data></array></value></member><member><name>methodName</name><value>ticket.priority.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>high</value></data></array></value></member><member><name>methodName</name><value>ticket.priority.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>normal</value></data></array></value></member><member><name>methodName</name><value>ticket.priority.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>low</value></data></array></value></member><member><name>methodName</name><value>ticket.priority.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>lowest</value></data></array></value></member><member><name>methodName</name><value>ticket.priority.get</value></member></struct></value></data></array></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketVersionNames" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.version.getAll",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketVersion" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset params["versionName"] = "1.0" />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.version.get",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketVersionMultiCall" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset results = multiCall( '<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>system.multicall</methodName><params><param><value><array><data><value><struct><member><name>params</name><value><array><data><value>2.0</value></data></array></value></member><member><name>methodName</name><value>ticket.version.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>1.0</value></data></array></value></member><member><name>methodName</name><value>ticket.version.get</value></member></struct></value></data></array></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketResolutionNames" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.resolution.getAll",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketResolution" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset params["resolutionName"] = "duplicate" />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.resolution.get",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketResolutionMultiCall" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset results = multiCall( '<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>system.multicall</methodName><params><param><value><array><data><value><struct><member><name>params</name><value><array><data><value>fixed</value></data></array></value></member><member><name>methodName</name><value>ticket.resolution.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>invalid</value></data></array></value></member><member><name>methodName</name><value>ticket.resolution.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>wontfix</value></data></array></value></member><member><name>methodName</name><value>ticket.resolution.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>duplicate</value></data></array></value></member><member><name>methodName</name><value>ticket.resolution.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>worksforme</value></data></array></value></member><member><name>methodName</name><value>ticket.resolution.get</value></member></struct></value></data></array></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketSeverityNames" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.severity.getAll",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketSeverity" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset params["severityName"] = "blocker" />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.severity.get",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketSeverityMultiCall" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset results = multiCall( '<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>system.multicall</methodName><params><param><value><array><data><value><struct><member><name>params</name><value><array><data><value>blocker</value></data></array></value></member><member><name>methodName</name><value>ticket.severity.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>critical</value></data></array></value></member><member><name>methodName</name><value>ticket.severity.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>major</value></data></array></value></member><member><name>methodName</name><value>ticket.severity.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>normal</value></data></array></value></member><member><name>methodName</name><value>ticket.severity.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>minor</value></data></array></value></member><member><name>methodName</name><value>ticket.severity.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>trivial</value></data></array></value></member><member><name>methodName</name><value>ticket.severity.get</value></member></struct></value></data></array></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>


	<cffunction name="testGetTicketStatusNames" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.status.getAll",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketStatus" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset params["statusName"] = "new" />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.status.get",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketStatusMultiCall" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset results = multiCall( '<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>system.multicall</methodName><params><param><value><array><data><value><struct><member><name>params</name><value><array><data><value>new</value></data></array></value></member><member><name>methodName</name><value>ticket.status.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>assigned</value></data></array></value></member><member><name>methodName</name><value>ticket.status.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>reopened</value></data></array></value></member><member><name>methodName</name><value>ticket.status.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>closed</value></data></array></value></member><member><name>methodName</name><value>ticket.status.get</value></member></struct></value></data></array></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>


	<cffunction name="testGetTicketTypeNames" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.type.getAll",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketType" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset params["typeName"] = "defect" />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.type.get",params) />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketTypeMultiCall" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset results = multiCall( '<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>system.multicall</methodName><params><param><value><array><data><value><struct><member><name>params</name><value><array><data><value>defect</value></data></array></value></member><member><name>methodName</name><value>ticket.type.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>enhancement</value></data></array></value></member><member><name>methodName</name><value>ticket.type.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value>task</value></data></array></value></member><member><name>methodName</name><value>ticket.type.get</value></member></struct></value></data></array></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketFields" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var response = "" />
		<cfset var results = variables.tracRpcAdapter.runMethod(1,"ticket.getTicketFields",params) />
 		<cfset response = xmlparse(CFML2XMLRPC(results["results"],"response")) />
		<cfset assertComplexValue(value=response) />
	</cffunction>
				
	<cffunction name="testGetTicketIdsQuery" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = xmlCall("ticket.query",'<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>ticket.query</methodName><params><param><value>order=id&amp;status=new|assigned|reopened</value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicket" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var response = "" />
		<cfset var results = "" />
		<cfset params["projectID"] = variables.projectId />
		<cfset params["ticketId"] = "1" />
		<cfset results = variables.tracRpcAdapter.runMethod(1,"ticket.get",params) />
 		<cfset response = xmlparse(CFML2XMLRPC(results["results"],"response")) />
		<cfset assertComplexValue(value=response) />
	</cffunction>

	<cffunction name="testGetTicketMultiCall" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset results = multiCall( '<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>system.multicall</methodName><params><param><value><array><data><value><struct><member><name>params</name><value><array><data><value><i4>1</i4></value></data></array></value></member><member><name>methodName</name><value>ticket.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value><i4>2</i4></value></data></array></value></member><member><name>methodName</name><value>ticket.get</value></member></struct></value></data></array></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketComments" returntype="void" access="public">
		<cfset var results = xmlCall("ticket.changelog",'<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>ticket.changeLog</methodName><params><param><value><i4>1</i4></value></param><param><value><i4>0</i4></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketAttachments" returntype="void" access="public">
		<cfset var results = xmlCall("ticket.listAttachments",'<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>ticket.listAttachments</methodName><params><param><value><i4>11</i4></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetTicketAttachment" returntype="void" access="public">
		<cfset var results = xmlCall("ticket.getAttachment",'<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>ticket.getAttachment</methodName><params><param><value><i4>1</i4></value></param><param><value>llmsClassIds.csv</value></param></params></methodCall>') />
    <cfset var validResponse = '<?xml version="1.0"  standalone="no"?><methodResponse><params><param><value><base64>IkxMTVNjbGFzc0lEIgoxMjE4NQoxMjE4NAoxMjE4OAoxMjE4OQoxMjE4NgoxMjE4NwoxMjE1NQoxMjE1NgoxMjE1NwoxMjE1OAoxMjE1OQoxMjE2MAoxMjE2MQoxMjE2MgoxMjE2MwoxMjE2NAoxMjE2NQoxMjE2NgoxMjE2NwoxMjE2OAoxMjE2OQoxMjE3MAoxMjE3MQoxMjE3MgoxMjE3MwoxMjE3NAoxMjE3NQoxMjE3NgoxMjE3NwoxMjE3OAoxMjE3OQoxMjE4MAoxMjE4MQoxMjE4MgoxMjE4MwoxMjE1MAoxMjE1MQoxMjE1MgoxMjE1MwoxMjE1NAo=</base64></value></param></params></methodResponse>' />
		<cfset var validXmlResponse = xmlParse(validResponse) />
		<cfset assertEqualsString(expected=toString(validXmlResponse), actual=toString(results), failureMessage="getAttachment: Invalid Response") />
	</cffunction>

	<cffunction name="testGetTicketAvailableActions" returntype="void" access="public">
		<cfset var results = xmlCall("ticket.getAvailableActions",'<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>ticket.getAvailableActions</methodName><params><param><value><i4>1</i4></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testGetRecentChanges" returntype="void" access="public">
		<cfset var results = xmlCall("ticket.getRecentChanges",'<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>ticket.getRecentChanges</methodName><params><param><value><dateTime.iso8601>20080212T10:22:48</dateTime.iso8601></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

 	<cffunction name="testAddAttachment" returntype="void" access="public">
		<cfset var results = xmlCall("ticket.putAttachment",'<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>ticket.putAttachment</methodName><params><param><value><i4>1</i4></value></param><param><value>llmsClassIds.csv</value></param><param><value>I really like cheese</value></param><param><value><base64>IkxMTVNjbGFzc0lEIgoxMjE4NQoxMjE4NAoxMjE4OAoxMjE4OQoxMjE4NgoxMjE4NwoxMjE1NQoxMjE1NgoxMjE1NwoxMjE1OAoxMjE1OQoxMjE2MAoxMjE2MQoxMjE2MgoxMjE2MwoxMjE2NAoxMjE2NQoxMjE2NgoxMjE2NwoxMjE2OAoxMjE2OQoxMjE3MAoxMjE3MQoxMjE3MgoxMjE3MwoxMjE3NAoxMjE3NQoxMjE3NgoxMjE3NwoxMjE3OAoxMjE3OQoxMjE4MAoxMjE4MQoxMjE4MgoxMjE4MwoxMjE1MAoxMjE1MQoxMjE1MgoxMjE1MwoxMjE1NAo=</base64></value></param><param><value><boolean>0</boolean></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testAddComment" returntype="void" access="public">
		<cfset var results = xmlCall("ticket.update",'<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>ticket.update</methodName><params><param><value><i4>1</i4></value></param><param><value>testing comment</value></param><param><value><struct><member><name>summary</name><value>w00t3rz</value></member><member><name>milestone</name><value>milestone1</value></member><member><name>keywords</name><value>sodium oxide</value></member><member><name>component</name><value>component2</value></member><member><name>description</name><value>superfudge</value></member><member><name>priority</name><value>normal</value></member><member><name>owner</name><value>denny</value></member><member><name>severity</name><value>normal</value></member><member><name>type</name><value>defect</value></member><member><name>cc</name><value></value></member><member><name>version</name><value>2.0</value></member></struct></value></param><param><value><boolean>1</boolean></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testUpdateTicket" returntype="void" access="public">
		<cfset var results = xmlCall("ticket.update",'<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>ticket.update</methodName><params><param><value><i4>1</i4></value></param><param><value></value></param><param><value><struct><member><name>summary</name><value>testing</value></member><member><name>milestone</name><value>milestone2</value></member><member><name>keywords</name><value>stanly</value></member><member><name>component</name><value>component1</value></member><member><name>description</name><value>Well now</value></member><member><name>priority</name><value>normal</value></member><member><name>owner</name><value>denny</value></member><member><name>severity</name><value>normal</value></member><member><name>type</name><value>enhancement</value></member><member><name>cc</name><value>dan</value></member><member><name>version</name><value>1.0</value></member></struct></value></param><param><value><boolean>1</boolean></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

	<cffunction name="testCreateTicket" returntype="void" access="public">
		<cfset var results = xmlCall("ticket.create",'<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>ticket.create</methodName><params><param><value>w00t3rz</value></param><param><value>superfudge</value></param><param><value><struct><member><name>milestone</name><value>milestone1</value></member><member><name>keywords</name><value>sodium oxide</value></member><member><name>component</name><value>component2</value></member><member><name>priority</name><value>normal</value></member><member><name>owner</name><value>denny</value></member><member><name>severity</name><value>normal</value></member><member><name>type</name><value>defect</value></member><member><name>cc</name><value></value></member><member><name>version</name><value>2.0</value></member></struct></value></param><param><value><boolean>1</boolean></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>
				
</cfcomponent>